<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>江苏龙芯梦兰科技股份有限公司-SMT生产管理系统</title>
		<%@include file="/WEB-INF/common/taglibs.jsp"%>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<script type="text/javascript" src="${ctx}resources/js/chili-1.7.pack.js"> </script>
		<script type="text/javascript" src="${ctx}resources/js/jquery.easing.js"> </script>
		<script type="text/javascript" src="${ctx}resources/js/jquery.dimensions.js"> </script>
		<script type="text/javascript" src="${ctx}resources/js/jquery.accordion.js"> </script>
		<link rel="stylesheet" type="text/css" href="${ctx}resources/css/left.css" />
		<script language="javascript">
			jQuery().ready(function() {
				jQuery('#navigation').accordion( {
					header : '.head',
					navigation1 : true,
					event : 'click',
					fillSpace : true,
					animated : 'bounceslide'
				});
			});
		</script>
	</head>
	<body>
		<div style="height: 100%;">
			<ul id="navigation">
				<c:forEach items="${models}" var="model">
					<c:if test="${model!=null&&model.parent==null}">
						<li>
							<a class="head">${model.name}</a>
							<ul>
								<c:forEach items="${models}" var="m">
									<c:if test="${m!=null&&m.parent.id==model.id}">
										<li>
											<a href="${m.url}" target="rightFrame">${m.name}</a>
										</li>
									</c:if>
								</c:forEach>
							</ul>
						</li>
					</c:if>
				</c:forEach>
			</ul>
		</div>
	</body>
</html>
